package com.cysyz.mylib.dao;

import java.util.Map;

/**
 * Created by emall on 2014/12/12.
 */
public interface IConds {

    Conds addFilter(String tableName, String left, String operator, Object right);

    Conds addFilterByDefaultTableName(String left, String operator, Object right);

    Conds addFilter(String tableName, Conds.AndOr andOr, String left, Object right);

    Conds addFilter(String tableName, String left, Object right);

    Conds addFilter(Conds.AndOr andOr, String left, Object right);

    Conds addFilter(String left, Object right);

    Conds addFilters(Conds.AndOr andOr, Conds conds);

    Conds addFilters(Conds conds);

    Conds setOrderBy(String orderByColumn);

    Conds setOrderBy(String tableName, String orderByColumn);

    Conds setOrderBy(String tableName, String orderByColumn, Conds.AscOrDesc ascOrDesc);

    Map<String, Object> getParamPlaceAndValues();
}
